program main

    use easy_math_m, only: diff

    print *, diff([2, 3, 5, 6], prepend=[1])
    !  1           1           2           1

end program main
